import useRequest from "@/hooks/useRequest";
const { post, get } = useRequest();

// 律师注册第一步
export const regeisterPre = (data) => {
	return post({
		method: "POST",
		url: "lawyer/login/regeister_pre",
		data,
	});
}

export const regeister = (data) => {
	return post({
		url: "lawyer/login/regeister",
		data,
	});
}

export const protocol = {
	'帮助中心': (data : any) => get({
		url: "currency/member/hlep_info",
		data,
	}),
}